package com.cyedu.tsapp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Garne
 * @since 2021-06-26
 */
public class AppInfo extends Model<AppInfo> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String appName;

    private String appId;

    private String category;

    private String description;

    private String optUri;

    private String icon;

    public Integer getId() {
        return id;
    }

    public AppInfo setId(Integer id) {
        this.id = id;
        return this;
    }
    public String getAppName() {
        return appName;
    }

    public AppInfo setAppName(String appName) {
        this.appName = appName;
        return this;
    }
    public String getAppId() {
        return appId;
    }

    public AppInfo setAppId(String appId) {
        this.appId = appId;
        return this;
    }
    public String getCategory() {
        return category;
    }

    public AppInfo setCategory(String category) {
        this.category = category;
        return this;
    }
    public String getDescription() {
        return description;
    }

    public AppInfo setDescription(String description) {
        this.description = description;
        return this;
    }
    public String getOptUri() {
        return optUri;
    }

    public AppInfo setOptUri(String optUri) {
        this.optUri = optUri;
        return this;
    }
    public String getIcon() {
        return icon;
    }

    public AppInfo setIcon(String icon) {
        this.icon = icon;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "AppInfo{" +
            "id=" + id +
            ", appName=" + appName +
            ", appId=" + appId +
            ", category=" + category +
            ", description=" + description +
            ", optUri=" + optUri +
            ", icon=" + icon +
        "}";
    }
}
